public class Bundle extends Algorithm implements java.beans.PropertyChangeListener
Graph searching for subgraphs. Will utilize all
provided algorithms. Effectively bundles more than one algorithm into a
single algorithm.Algorithm.GraphSortOrder| Modifier and Type | Field and Description |
|---|---|
private Algorithm[] |
algorithms
The
Algorithm array containing the algorithms to process graphs
with. |
private int |
done
Number of algorithms executed.
|
args, counter, listener, PROP_PROGRESS| Constructor and Description |
|---|
Bundle(Algorithm[] algorithms)
Constructs the Algorithm object.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.ArrayList<Graph> |
process(Graph graph)
Processes data.
|
void |
propertyChange(java.beans.PropertyChangeEvent evt) |
addPropertyChangeListener, cull, getGraphSortOrder, getPartiteNumber, removePropertyChangeListener, setGraphSortOrder, setPartiteNumber, setProgressprivate final Algorithm[] algorithms
Algorithm array containing the algorithms to process graphs
with.private int done
public Bundle(Algorithm[] algorithms)
algorithms - the Algorithm array to process graphs with.public java.util.ArrayList<Graph> process(Graph graph)
process in interface Processable<Graph,Graph>graph - the Graph object to search through.public void propertyChange(java.beans.PropertyChangeEvent evt)
propertyChange in interface java.beans.PropertyChangeListener